package com.eb.buybuybuy.service;

import com.eb.buybuybuy.bean.UserCart;

import javax.servlet.http.HttpSession;
import java.sql.SQLException;

public interface CartService {
    UserCart list(HttpSession session) throws Exception;

    void increase(HttpSession session, Integer goodsId) throws Exception;

    void decrease(HttpSession session, Integer goodsId) throws Exception;

    void buy(HttpSession session) throws Exception;
}
